
{template 'header'}
            <div class="row">
                <div class="col-md-12">
                    <div class="panel panel-default">

                        <div class="panel-body">
                            <form action="{php echo webUrl('other/index/service')}" method="post" enctype="multipart/form-data" class="form-horizontal ">
                                <div class="form-group">
                                    <label for="lastname" class="col-sm-2 control-label">客服图片</label>
                                    <div class="col-sm-8">
                                         {php echo tpl_form_field_image2('service_icon',$result['service_icon']);}
                                         <span class="help-block">图片：252*94像素</span>
                                    </div>
                                </div>
                                
                                <div class="form-group">
						            <label class="col-md-2 control-label" for="text-input"> 开启关闭：</label>
						            <div class="col-sm-8"">
						            <label class="switch switch-primary" style="margin-top:5px;">
						                <input type="checkbox" name="service_switch" {if $result['service_switch']==1} checked {/if} value="1" class="switch-input" >
						                <span class="switch-label" data-on="On" data-off="Off"></span>
						                <span class="switch-handle"></span>
						            </label>
						            </div>
						        </div>
						        <div class="form-group">
                                    <label for="lastname" class="col-sm-2 control-label"></label>
                                    <div class="col-sm-8">
                                        <a href="https://mpkf.weixin.qq.com/" target="view_window">
				                            <div class="getdaoyuid btn btn-sm btn-danger" >
				                                <i class="ace-icon fa fa-chain bigger-110"></i>
				                                客服中心连接
				                            </div>
				                        </a>
                                    </div>
                                </div>
                        </div>
                        <div class="panel-footer">
                            <button type="submit" class="btn btn-sm btn-success"><i class="fa fa-dot-circle-o"></i> 保存</button>
                            <button type="reset" class="btn btn-sm btn-danger"><i class="fa fa-ban"></i> 撤销</button>
                        </div>
                        </form>
                    </div>

                    </div>
                </div>
            </div><!--/.row-->
    {template 'footer'}